package uvt.gui.mainframe.object.menuitem;

import javax.swing.JCheckBoxMenuItem;

import uvt.gui.mainframe.object.command.Command;
import uvt.map.PositionsSettings;

public class SetPositionsMenuItem extends JCheckBoxMenuItem implements Command {
	
    public SetPositionsMenuItem() {
		super("Set positions",false);
	}
    
    public void execute() {
    	if(!this.isSelected()) {
    		PositionsSettings.getInstance().cleanMapMarkersUsed();
    	}
    }

}
